import groovy.jmx.builder.node.DescriptiveNodeData

class DescriptiveNodeDataTest extends GroovyTestCase {
    void testDescriptiveNodeDataConstructor() {
        def node = new DescriptiveNodeData(name: "NodeData", description: "DescriptiveNodeData")
        assert node.name == "NodeData"
        assert node.description == "DescriptiveNodeData"
    }

    void testDescriptiveNodeDataSetter() {
        def node = new DescriptiveNodeData()
        node.name = "NodeData"
        node.description = "DescriptiveNodeData"
        assert node.name == "NodeData"
        assert node.description == "DescriptiveNodeData"
    }

}